foreign key and primary key in dbms